package com.syxp.pda.core.util;

import org.hibernate.Hibernate;
import org.hibernate.dialect.SQLServerDialect;
import org.hibernate.dialect.function.StandardSQLFunction;

public class SQLServerLocalDialect extends SQLServerDialect{

	public SQLServerLocalDialect(){
		super() ;
		 registerFunction("datediff", new StandardSQLFunction("datediff", Hibernate.INTEGER) );
		 
	}
}
